#pragma once

#include <windows.h>
#include <commdlg.h>
#include <streams.h>
#include <initguid.h>

DEFINE_GUID(CLSID_SenderFilter,0xa6a5f770, 0xfe4c, 0x11ce, 0xa8, 0xed, 0x00, 0xaa, 0x00, 0x2f, 0xea, 0xb5);

class SenderFilter:public CBaseFilter
{
protected:
    CCritSec m_Lock;                // Main renderer critical section
    CCritSec m_ReceiveLock;         // Sublock for received samples
	CRenderedInputPin* pInputPin;

public:
	SenderFilter();
    SenderFilter(LPUNKNOWN pUnk);
	~SenderFilter(void);

    // Pin enumeration
    CBasePin * GetPin(int n);
    int GetPinCount();

};

